package com.gdufe.studytogether.service.application;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdufe.studytogether.domain.R;
import com.gdufe.studytogether.domain.pojo.Application;

public interface ApplicationService extends IService<Application> {
    R getApplication() throws Exception;
    R agreeApplication(Integer id) throws Exception;
    R disagreeApplication(Integer id) throws Exception;
    R addApplication(Application application) throws Exception;
    R deleteApplication(Integer id) throws Exception;

    void deleteApplicationByGid(Integer id);
}
